package LABS.lab4;

/**************************************************************
* Class PezCandyDemo
* @author Jeff Thomas - Thomas007
* @vesion 1.0.0
* Date: 02.26.2008
* Copyright 2008, Jeff Thomas
***************************************************************/
import javax.swing.JOptionPane;

public class PezCandyDemo
{
	public static void main(String[] args)
	{
		PezCandy pezPack = new PezCandy();
		JOptionPane.showMessageDialog(null, pezPack.displayStack(), 
			"Pez pre brother", JOptionPane.INFORMATION_MESSAGE);
			
		pezPack.simBrother();
		
		JOptionPane.showMessageDialog(null, "Joe took " +  pezPack.getNumOrange() +  " oranges.", 
			"Pez oranges taken", JOptionPane.INFORMATION_MESSAGE);
		
		JOptionPane.showMessageDialog(null, pezPack.displayStackCopy(), 
			"Pez post brother", JOptionPane.INFORMATION_MESSAGE);
	}
}
/**************************************************************
* I, Jeff Thomas, certify that each part of this program was
* written by me, except as noted within the code.
*
*						_________________________
***************************************************************/